package cn.fuck.boxing;

public class TestDouble {
    public static void main(String[] args) {
        System.out.println(Double.isInfinite(1.0 / 0.0));
        System.out.println(-1.0/0.0);
        System.out.println(Double.isInfinite(-1.0/0.0));
        System.out.println(Double.isNaN(0.0 / 0));
    }
}
